﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace GemTowerDefence
{
  internal static class TileSet
  {
    public static Texture2D TileSetTexture;

    public static Rectangle GetSourceRectangle(int tileIndex)
    {
      return new Rectangle(tileIndex * Game.TextureSize, 0, Game.TextureSize, Game.TextureSize);
    }
  }
}

